package com.atguigu.gulimall.gateway.controller;

import com.atguigu.common.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LZ
 * @date 2021/6/10
 */
@RestController
@RequestMapping("gateway")
public class TestController {
    @RequestMapping("/test")
    public R test(){
        return R.ok().put("data","你好");
    }
}
